﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GxTsSharp.Models;

namespace StockIndex
{
    public class ConfigModel
    {
        public ConfigTime time { get; set; }
        public List<ConfigMarket> market { get; set; }
        public ConfigEagle eagle { get; set; }
    }

    public class ConfigTime
    {
        public string startTime1 { get; set; }
        public string startTime2 { get; set; }
        public string endTime1 { get; set; }
        public string endTime2 { get; set; }
    }

  
    public class ConfigMarket
    {
        public string description { get; set; }
        public string name { get; set; }
        public EMarketID value { get; set; }
        public bool enabled { get; set; }
    }

    public class ConfigEagle
    {
        public string account { get; set; }

        public string name { get; set; }

        public string ip { get; set; }

        public int port { get; set; }
    }
}
